<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/3/27
 * Time: 22:41
 */
$ip = "210.75.225.254";
$ip_data = @file_get_contents("http://ip.taobao.com/service/getIpInfo.php?ip=".$ip);
var_dump($ip_data);
echo '<hr/>';
$ip_data = json_decode($ip_data,true);
var_dump($ip_data);

